//
//  XMHomeHeaderView.h
//  XunMi
//
//  Created by MacBook on 2024/2/18.
//  Copyright © 2024 TieZhu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <SDCycleScrollView/SDCycleScrollView.h>

NS_ASSUME_NONNULL_BEGIN

@interface XMHomeHeaderView : UIView

@property (nonatomic, strong) SDCycleScrollView *bannerView;

@property (nonatomic, strong) NSArray <XMBannerModel *> *dataArray;

- (void)scrollViewDidScroll:(CGFloat)contentOffsetY;

@property (nonatomic, copy) void(^webBlock)(XMBannerModel *model);

@end

NS_ASSUME_NONNULL_END
